// 管理员模块

import request from '@/utils/request'

/**
 * 管理员登陆
 * @param {String} account
 * @param {String} password
 * @returns
 */
export const adminLogin = ({ account, password }) => {
  return request('/api/admin/login', 'post', { account, password })
}
